package com.woniuxy.controller;

import com.woniuxy.service.TrackingService;
import com.woniuxy.util.ResponseData;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName TrackingController
 * @Description 在途追踪模块controller层
 * @Author GuoYuning
 * @Date 2025/3/27 19:33
 * @Version 1.0
 */
@RestController
@RequestMapping("/tracking")
@AllArgsConstructor
public class TrackingController {

    private TrackingService trackingService;

    @GetMapping("/getAppointVehicleList")
    public ResponseData<?> queryAllAppointVehicle(){
        return trackingService.queryAllAppointVehicle();
    }
}
